import Layout from '@/layout'

export default [{
	path:'/login',
	name:'登录页',
	component: () => import('@/views/login/index'),
	meta: {
		keepAlive: true,
		isTab: false,
		isAuth: false
	}
},{
	path:'/register',
	name:'注册页',
	component: () => import('@/views/register/index'),
	meta: {
		keepAlive: true,
		isTab: false,
		isAuth: false
	}
},{
	path:'/404',
	name:'404',
	component: () => import('@/components/error-page/404'),
	meta: {
		keepAlive: true,
		isTab: false,
		isAuth:false
	}
},{
	path:'/403',
	name:'403',
	component: () => import('@/components/error-page/403'),
	meta: {
		keepAlive: true,
		isTab: false,
		isAuth:false
	}
},{
	path:'/content/index',
	name:'content',
	component: () => import('@/views/content/index'),
	meta: {
		keepAlive: true,
		isTab: false,
		isAuth:false
	}
},{
	path:'/content/detail/:articleId',
	name:'detail',
	component: () => import('@/views/content/detail'),
	meta: {
		keepAlive: true,
		isTab: false,
		isAuth:false
	}
},{
	path:'/content/pDetail/:articleId',
	name:'pDetail',
	component: () => import('@/views/content/detail_phone'),
	meta: {
		keepAlive: true,
		isTab: false,
		isAuth:false
	}
},{
	path:'/service/list',
	name:'service',
	component: () => import('@/views/service/list'),
	meta: {
		keepAlive: true,
		isTab: false,
		isAuth:false
	}
},{
	path:'/service/detail/:id',
	name:'serviceDetail',
	component: () => import('@/views/service/detail'),
	meta: {
		keepAlive: true,
		isTab: false,
		isAuth:false
	}
},{
	path:'/500',
	name:'500',
	component: () => import('@/components/error-page/500'),
	meta: {
		keepAlive: true,
		isTab: false,
		isAuth:false
	}
},{
	path:'/',
	name:'主页',
	redirect: '/wel'
},{
	path:'*',
	redirect:'/404'
},{
	path:'/drawgis/:farmAddress/:lat/:lnt/:farmId',
	name:'农场地块GIS',
	component: () => import('@/views/farm/drawGis'),
	meta: {
		keepAlive: true,
		isTab: false,
		isAuth: false
	}
},
{
	path:'/showdata',
	name:'智联农业大数据监控平台',
	component: () => import('@/views/data/showData'),
	meta: {
		keepAlive: true,
		isTab: false,
		isAuth: false
	}
}]